package com.exam.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author LY
 * @create 2023/10/8 11:20
 * @Description 用户
 */
@TableName("sys_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUser {

    /**用户id*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户账号*/
    private String username;
    /**用户密码*/
    private String password;
    /**用户角色*/
    private String role;
}
